#ifndef __SCENEPETITPOT_H__
#define __SCENEPETITPOT_H__

#pragma once

class COgreEngine;

class CScenePetitPot : public CSceneBase
{
//Methods
public:
	CScenePetitPot(COgreEngine &Creator, const String & Name, const int pos);
	virtual ~CScenePetitPot(void);

	void Create(TCreatorEntities const &CreatorEntities, TCreatorNodes const &CreatorNodes, TCreatorLights const &CreatorLights, ENetConfig IsClient = e_NCNone, Vector3 &CameraStartPos = Vector3(200.0f, 150.0f, 200.0f));
	void AddSpotlight(String const &name, Vector3 const &position, Real const &xAngle, Real const &yAngle, Real const &zAngle, bool const CastShadow = false);

	bool frameStarted(const FrameEvent& evt);
	void Attach(void);
	void Detach(void);

	void addParticleSystems(void);
	void removeParticleSystems(void);
	void updateParticleSystems(void);

	void processEvents(void);

//Variables
public:
	ParticleSystem * m_pPluie;
	ParticleSystem * m_pPluieTop;

	Vector3 m_WindForce;
	Vector3 m_WindForceStart;
	bool m_SetWindStarted;
	Vector3 m_WindForceBySystem[4];
	Real m_WindSpeed;
};

#endif //__SCENEPETITPOT_H__
